package com.bykj.property.model;

import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.annotation.IdType;
    import java.sql.Timestamp;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
import com.bykj.property.model.NewsSend;
import com.bykj.property.model.PmVillage;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;
    import java.util.List;
/**
* <p>
    * 信息小区关联表
    * </p>
*
* @author liangyiming
* @since 2019-06-20
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("news_send_m_pm_village")
    @ApiModel(value="NewsSendMPmVillage对象", description="信息小区关联表")
    public class NewsSendMPmVillage extends  NewsSend{


private static final long serialVersionUID = 1L;
        @TableId(value = "news_village_id", type = IdType.AUTO)
    private Long newsVillageId;
    /**
     * 小区id属性
     */
    private Long newsSendId;
    private Long pmVillageId;
    @TableField(exist = false)
    private List<PmVillage> pmVillages;

}
